package com.sxf.core.aspect;


/**
 * @author villain
 */
public class ClientThreadLocal {

    private static final ThreadLocal<String> CLIENT_THREAD_LOCAL = new ThreadLocal<>();

    private ClientThreadLocal() {}

    public static void set(String client) {
        CLIENT_THREAD_LOCAL.set(client);
    }

    public static String get() {
        return CLIENT_THREAD_LOCAL.get();
    }

    public static void remove() {
        CLIENT_THREAD_LOCAL.remove();
    }

}
